//
//  BYFootView.m
//  ZhiHuiLiJiang
//
//  Created by work on 2018/12/17.
//  Copyright © 2018年 WisdomLijiang. All rights reserved.
//

#import "BYFootView.h"

@implementation BYFootView

- (instancetype)initWithFrame:(CGRect)frame{
    if (self == [super initWithFrame:frame]) {
        self.userInteractionEnabled = YES;
        [self initAddSubViews];
    }
    return self;
}

- (void)initAddSubViews{

    [self addSubview:self.footView];

    [self.footView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self.mas_centerX);
        make.centerY.equalTo(self.mas_centerY);
        make.size.mas_equalTo(CGSizeMake(202,16));
    }];
}

-(UIImageView *)footView{
    if (!_footView) {
        _footView = [[UIImageView alloc]init];
        _footView.image = [UIImage imageNamed:@"底线"];
    }
    return _footView;
}
@end
